package com.rt.rtweibo;

import java.util.Timer;
import java.util.TimerTask;

public class AppTaskTimer extends TimerTask {
	RtWeibo m_app;
	int m_nTimerId;

	public AppTaskTimer(RtWeibo app,int nTimerId) {
		m_app=app;
		m_nTimerId=nTimerId;
		
		Timer timer = new Timer(false);
		timer.schedule(this,10);
	}

	@Override
	public void run() {
		m_app.TimerFinished(m_nTimerId);
	}

}
